package com.coursedesign.mapper;

import com.coursedesign.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {

    @Select("SELECT * FROM user")
   List<User> getUserList();

    List<User> getUserList2();


    User userLogin(User userLogin);

    int userRegister(User registerUser);
}
